home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950329-19950528 / 000168_news@columbia.edu_Mon Apr 17 00:43:18 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA03912
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Wed, 19 Apr 1995 05:10:52 -0400
  3. Received: by apakabar.cc.columbia.edu id AA19270
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Wed, 19 Apr 1995 05:10:51 -0400
  5. Path: news.columbia.edu!panix!news.mathworks.com!udel!gatech!swrinde!cs.utexas.edu!news.cs.utah.edu!cc.usu.edu!jrd
  6. From: jrd@cc.usu.edu (Joe Doupnik)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: Automated SLIP logins from MSK...?
  9. Message-Id: <1995Apr17.064318.47679@cc.usu.edu>
  10. Date: 17 Apr 95 06:43:18 MDT
  11. References: <3mt4ug$evh@kelly.teleport.com>
  12. Organization: Utah State University
  13. Lines: 67
  14. Apparently-To: kermit.misc@watsun.cc.columbia.edu
  15.  
  16. In article <3mt4ug$evh@kelly.teleport.com>, sysone@teleport.com (FIGHT THE POWER) writes:
  17. >     Hi, I have a couple of questions regarding MS-DOS Kermit,
  18. > version 3.14, 18 Jan 1995, patch level 3. I have not been able
  19. > to find answers for these in my copy of _Using MS-DOS Kermit_,
  20. > 2nd edition, nor in the docs from the .zip file. Please let me
  21. > know if there is something I have overlooked.
  22. >     First: I have begun using Kermit over a dial-up SLIP
  23. > connection to my local provider. My script for doing this loads
  24. > the SLIP8250 driver if necessary, gets my password and dials. It
  25. > then handles the login. Once the connection is authorized, the
  26. > system displays the following:
  27. >     Set IP address of interface 'myname-slip'
  28. >     Packet mode enabled for IP address: aaa.bbb.ccc.ddd
  29. > At this point, I escape back to my Kermit prompt and enter
  30. >     Mykermit>set tcp/ip host myname-slip
  31. >     Mykermit>set tcp/ip address aaa.bbb.ccc.ddd
  32. > and from there I can TELNET &c. No problem so far. What I would
  33. > like to do is to automate the last portion of the transaction;
  34. > that is, for Kermit somehow to grab the hostname and address from
  35. > the incoming data. If I could get the incoming lines into some
  36. > variable(s), I might be able to use some of the new (3.14)
  37. > functions on them. INPUT and REINPUT don't seem to be geared for
  38. > this job -- at least from what the book and docs say. Is there a
  39. > way to retrieve and use information in this way within Kermit?
  40.  
  41.     You can move this material into a script. Have a look at the
  42. variable \v(input) which reports the "first line" of text still held
  43. in the buffer used by the INPUT command. That means up to the first
  44. LF, CR, FF seen there. SHOW SCRIPT will display that buffer. From
  45. that point you can slice & dice \v(input) as a string with the \f...()
  46. commands to extract the desired component.
  47.  
  48. >     Second: At the library where I work I have installed
  49. > Kermit on several PCs acting as terminals for the on-line
  50. > catalog -- these are on an ethernet. There are also some
  51. > recently delivered computers which are hooked directly to the
  52. > host via 9600-baud lines (COM1). On these latter machines, the
  53. > host sends out escape sequences to change character colors
  54. > regardless of the terminal type. Even 'TYMONO' does this. The
  55. > problem is that the colors used are horrible. It would be much
  56. > nicer to stick with basic screen colors; I like to use cyan on
  57. > black with green underscore. Is there a way to instruct MS-DOS
  58. > Kermit to ignore certain incoming escape sequences? The problem
  59. > is not such attributes as 'bold, reverse underline,' as these I
  60. > can control. The problem is the actual color change commands;
  61. > e.g. ^[[34;40m or ^[[36;40m sequences. It is these I would like to
  62. > screen out. Is such selective screening possible? The only
  63. > alternative I can think of would be to get the system
  64. > administrator to install a modified termcap/terminfo entry --
  65. > which I could set up, but I don't think it would be allowed.
  66.  
  67.     Nope. There isn't a way to selectively turn on/off recognition
  68. of certain control sequences. Best to talks with the folks who
  69. wrote that library software.
  70.     Joe D.
  71.   
  72. >     Thanks in advance for any insights offered. Mail replies
  73. > more than welcome. I will summarize responses if I get enough.
  74. >     P.S. I just received _Kermit News_ No. 6 via snail. The
  75. > Brazilian Elections article was fascinating. Thanks!
  76.